<?php
require_once('TVB/PWORKS/mvc/IAction.iface.php');

class BlankAction implements IAction {
    protected $_errors;
	protected $_warnings;
	protected $_data;
    protected $_voBind;
    protected $_config;
	
	//------------------------------------------
	//[Jul. 23, 2009][Milo]
	//Add property "result" and related functions
	protected $____result____;

	public function setResult($result){
		$this->____result____ = $result;
	}

	public function getResult(){
		return $this->____result____;
	}

	public function setData($key, $value){
	    $this->_data[$key] = $value;
	}
	
	public function getData(){
		return $this->_data; 
	}
	
	public function getErrors() {

	}

	public function getWarnings() {

	}
	
    public function getInfos(){}
	
	public function addError($fieldId, $content, $details=array()){	}
	
    public function addWarning($fieldId, $content, $details=array()){ }
	public function addInfo($fieldId, $content, $details=array()){ }
	
	public function setConfig(ActionConfig $config){
    	$this->_config = $config;
	}
	
	public function getConfig(){
	    return $this->_config;
    }
    
    public function execute(){
	    return 'succ';
	}    
}
?>
